# 加密
SECRET_KEY = "<tyghyhujfrdsxcv@jhyhft"

# 数据库的配置信息
# 替换为你的MySQL数据库信息
username = 'root'
password = '12345678'
host = 'localhost'  # 例如：'localhost' 或 '127.0.0.1'
port = '3306'  # 通常是 3306
database = 'ec'

SQLALCHEMY_DATABASE_URI =(f'mysql+pymysql://{username}:{password}@{host}:{port}/{database}')
SQLALCHEMY_TRACK_MODIFICATIONS = True

# 邮箱配置
MAIL_SERVER = "smtp.126.com"
MAIL_USE_SSL= True
MAIL_PORT=465
MAIL_USERNAME = "ecommerceplatform@126.com"
MAIL_PASSWORD = "GVq5GBZhQWf8S3PR"
MAIL_DEFAULT_SENDER = "ecommerceplatform@126.com"
